package com.wanmait.schedule.service.impl;

import com.wanmait.schedule.entity.Permission;
import com.wanmait.schedule.mapper.PermissionMapper;
import com.wanmait.schedule.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 权限表 服务实现类
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {
    @Resource
    private PermissionMapper permissionMapper;
    @Override
    public List<Permission> list() {
        return permissionMapper.list();
    }
}
